package com.corechina.apex_osswords.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 巡检设备表
 * </p>
 *
 * @author cc
 * @since 2023-03-09
 */
@Getter
@Setter
@TableName("core_polling_equipment")
@ApiModel(value = "CorePollingEquipment对象", description = "巡检设备表")
public class CorePollingEquipment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("计划id")
    private Integer planId;

    @ApiModelProperty("设备id")
    private Integer equipmentId;

    @ApiModelProperty("巡检时间")
    private LocalDateTime pollingTime;

    @ApiModelProperty("巡检人")
    private Integer pollingPerson;

    @ApiModelProperty("状态 0 未巡检 1 已巡检")
    private Integer status;

    @ApiModelProperty("巡检设备图片")
    private String picture;
}
